SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd97fd02571bf011772124aab77b17cabe1a3a0e9c9ecc6ac4465bab5a8e9cf07' 
  AND token = 'F1UCChlHbnpDT9plfwYjWUDwf71lkRrYNVT0gS2UV1M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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