SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ec527c12a1028dbd9952df052a3273d06f9c33cfdc24f4657660669ee53a7f37' 
  AND token = 'RC0vNFxV/fvtUiyOF7CSCUh68WSCkGQhcqYQF9FzLn4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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