SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5ac9a80874cc9a383fd804d760f8b09f0d3eade77b7cc3344138edfbe488250d' 
  AND token = 'NP2cLwLVp5C8zEu2lJJrsryp/31DG2KjutRR/h+6+0U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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