SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8158d94343d5d09d1b11fa105c7eb764d6d38ccaf22e6fdd1d29b645e95fdfec' 
  AND token = '+/g0aW3KrwI0Pg+PJnWBO5ta3c+6x3DLhuNA9dKbRCQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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