SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f1887c22fbec8a4808adacd12ac31acdc6be48aca3d3eff27b3214331643c8f' 
  AND token = 'kgTn+jaR+loK3106tk6ZdnNu/ct7W0vttSzYkQ3zWTw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}