SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '08a9155d548f1699d012e8654e182df95fd673e48adcf89b0e80f683d583d3b1' 
  AND token = 'ThMU2iYvVspg+6XKwA6e/gZdCr2nfVIO4Uy8b+xIOZA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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