SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4a05856ffc073a937414ed2ba7988deef4e6ca7bbabd649897663255aa736127' 
  AND token = 'hLshGTAxhPcp15ysEp/S7IkAik6bpkJTnJiS6yIvIZ8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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