SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2bba78cec5863999d3635a2d054bbedd8f4912391a92732734608a9ec438991a' 
  AND token = 'Q7KxXycUog7sH6HZtam9P5HnY2rhVIpdt/vsb9HrOMQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00059

JSON explain

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