SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c501726302e20866dce4b831b66b0ab6893e625737d4de0ec371b6e185588b22' 
  AND token = 'R6+m2GT8FhMnG+Elf0P+jpb77BhnJv0Jp0JYwoMHgQg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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