SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a27d190458f4216ea2255933d62387f96a0311d61be94efc29e604e6083fb721' 
  AND token = 'hFlJZtmlx+vRYqmD2AWRQUxoPEVr0L1SAFa26ZeaKj4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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